package com.wanmait.recruit.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruit.pojo.Company;
import com.wanmait.recruit.pojo.Person;

public interface CompanyService extends CommonService<Company> {

    PageInfo<Company> search(Integer pageNum, Integer pageSize, String companyName, String city, Integer scopeMin, Integer scopeMax);
    Company findByCompanyName(String companyName);
    Company findByPerson(Person person);
    Company findById(Integer id);
}
